package com.draem0507.refactor;

/**
 * @title 合并继承
 * @desc
 * @atuh lwx
 * @createtime on 2015/11/14 14:36
 */
public class Day_21 {





    //将子类的方法迁移到父类中  不多说了，我想静静



    public abstract class Website2
    {
        public abstract String Title();
        public abstract boolean IsActive() ;
    }

    public abstract  class StudentWebsite2 extends Website
    {

    }

    public abstract class Website
    {
        public abstract String Title();
    }

    public abstract  class StudentWebsite extends Website
    {
        public abstract boolean IsActive() ;
    }


}
